Important for all Apple Printing and Graphics Developers:
The information in this Technical Q & A is still relevant up to and including Mac OS 7.6 with QuickDraw GX 1.1.5. Beginning with the release of Mac OS 8.0, however, Apple plans to deliver a system which incorporates QuickDraw GX graphics and typography only. QuickDraw GX printer drivers and GX printing extensions will not be supported in Mac OS 8.0 or in future Mac OS releases. Apple's goal is to simplify the user experience of printing by unifying the Macintosh graphic and printing architectures and standardizing on the classic Printing Manager. For details on Apple's official announcement, refer to <http://devworld.apple.com/dev/technotes/gxchange.html> |
This is a relatively simple process. What you need to do is to override GXDefaultDesktopPrinter. In your override module, you need to:
* Forward the message.
* Get the 'comm' resource from the DTP (use GXFetchTaggedData for this).
* If the 'comm' resource is a PAP resource (of type 'PPTL') then send the following messages:
Send_GXOpenConnection Send_SetupImageData Send_GXCloseConnectionBear in mind that this only works for a Postscript PAP case. If you're working on a raster printer, you need to query the printer yourself, instead of sending the SetupImageData message. Also, be sure to check the version of QuickDraw GX, as this method only works on 1.1.1 or later.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help